#!/usr/bin/env python3
# -*- coding: utf-8 -*-

l = [1, 2, 3, 4, 5]

print(l[:3])

print(l[1:3])

print(l[0:])

print(l[-2:])

print(l[:])

lst = list(range(100))

print(lst[::5])

print(lst[:10:2])


print((1, 2, 3, 4, 5)[1:3])

print('jingks'[1:2])